package com.ltkj.baseplatform.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ltkj.common.core.annotation.Excel;
import com.ltkj.common.core.web.domain.BaseEntity;

/**
 * 赛事对象 ser_game_data
 * 
 * @author ruoyi
 * @date 2023-09-13
 */
@ApiModel(value = "赛事")
public class SerGameData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty("主键")
    private Long id;

    /** 赛事标题 */
    @Excel(name = "赛事标题")
    @ApiModelProperty("赛事标题")
    private String gameTitle;

    /** 赛事分类 */
    @Excel(name = "赛事分类")
    @ApiModelProperty("赛事分类")
    private Long typeId;

    /** 封面图 */
    @Excel(name = "封面图")
    @ApiModelProperty("封面图")
    private String gameImg;

    /** 比赛开始时间 */
    @JsonFormat(pattern = "HH:mm:ss")
    @Excel(name = "比赛开始时间", width = 30, dateFormat = "HH:mm:ss")
    @ApiModelProperty("比赛开始时间")
    private Date gameStartTime;

    /** 报名开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "报名开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("报名开始时间")
    private Date applyStartTime;

    /** 报名截止时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "报名截止时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("报名截止时间")
    private Date applyEndTime;

    /** 活动地点 */
    @Excel(name = "活动地点")
    @ApiModelProperty("活动地点")
    private String placeName;

    /** 性别限制 */
    //@ApiModelProperty("性别限制")
    private String sex;

    /** 人数限制 */
    //@ApiModelProperty("人数限制")
    private Long personNum;

    /** 是否删除 */
    @ApiModelProperty("是否删除")
    private String isDel;

    /** 赛事描述 */
    @ApiModelProperty("赛事描述")
    private String gameDesc;

    /** 可报名席位 */
    @ApiModelProperty("可报名席位")
    private Long totalSeat;

    /** 实际参赛席位 */
    @ApiModelProperty("实际参赛席位")
    private Long realSeat;

    /** 参赛人数 */
    @ApiModelProperty("参赛人数")
    private Long realPersonNum;

    /** 候补人数 */
    @ApiModelProperty("候补人数")
    private Long candidateNum;

    /** 比赛状态 */
    @ApiModelProperty("比赛状态")
    private String gameStatus;

    /** 经度 */
    @ApiModelProperty("经度")
    private String longitude;

    /** 纬度 */
    @ApiModelProperty("纬度")
    private String latitude;

    /** 报名成功的二维码 */
    @ApiModelProperty("报名成功的二维码")
    private String contactImgPath;

    /** 报名费 */
    @ApiModelProperty("报名费")
    private BigDecimal entryFee;

    /** 报名费用描述 */
    @ApiModelProperty("报名费用描述")
    private String entryFeeDesc;

    /** 赛事协议id */
    @ApiModelProperty("赛事协议id")
    private Long gameAgreementId;

    /** 比赛日 */
    @ApiModelProperty("比赛日")
    private String gameDate;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setGameTitle(String gameTitle)
    {
        this.gameTitle = gameTitle;
    }

    public String getGameTitle()
    {
        return gameTitle;
    }
    public void setTypeId(Long typeId)
    {
        this.typeId = typeId;
    }

    public Long getTypeId()
    {
        return typeId;
    }
    public void setGameImg(String gameImg)
    {
        this.gameImg = gameImg;
    }

    public String getGameImg()
    {
        return gameImg;
    }
    public void setGameStartTime(Date gameStartTime)
    {
        this.gameStartTime = gameStartTime;
    }

    public Date getGameStartTime()
    {
        return gameStartTime;
    }
    public void setApplyStartTime(Date applyStartTime)
    {
        this.applyStartTime = applyStartTime;
    }

    public Date getApplyStartTime()
    {
        return applyStartTime;
    }
    public void setApplyEndTime(Date applyEndTime)
    {
        this.applyEndTime = applyEndTime;
    }

    public Date getApplyEndTime()
    {
        return applyEndTime;
    }
    public void setPlaceName(String placeName)
    {
        this.placeName = placeName;
    }

    public String getPlaceName()
    {
        return placeName;
    }
    public void setSex(String sex)
    {
        this.sex = sex;
    }

    public String getSex()
    {
        return sex;
    }
    public void setPersonNum(Long personNum)
    {
        this.personNum = personNum;
    }

    public Long getPersonNum()
    {
        return personNum;
    }
    public void setIsDel(String isDel)
    {
        this.isDel = isDel;
    }

    public String getIsDel()
    {
        return isDel;
    }
    public void setGameDesc(String gameDesc)
    {
        this.gameDesc = gameDesc;
    }

    public String getGameDesc()
    {
        return gameDesc;
    }
    public void setTotalSeat(Long totalSeat)
    {
        this.totalSeat = totalSeat;
    }

    public Long getTotalSeat()
    {
        return totalSeat;
    }
    public void setRealSeat(Long realSeat)
    {
        this.realSeat = realSeat;
    }

    public Long getRealSeat()
    {
        return realSeat;
    }
    public void setRealPersonNum(Long realPersonNum)
    {
        this.realPersonNum = realPersonNum;
    }

    public Long getRealPersonNum()
    {
        return realPersonNum;
    }
    public void setCandidateNum(Long candidateNum)
    {
        this.candidateNum = candidateNum;
    }

    public Long getCandidateNum()
    {
        return candidateNum;
    }
    public void setGameStatus(String gameStatus)
    {
        this.gameStatus = gameStatus;
    }

    public String getGameStatus()
    {
        return gameStatus;
    }
    public void setLongitude(String longitude)
    {
        this.longitude = longitude;
    }

    public String getLongitude()
    {
        return longitude;
    }
    public void setLatitude(String latitude)
    {
        this.latitude = latitude;
    }

    public String getLatitude()
    {
        return latitude;
    }
    public void setContactImgPath(String contactImgPath)
    {
        this.contactImgPath = contactImgPath;
    }

    public String getContactImgPath()
    {
        return contactImgPath;
    }

    public BigDecimal getEntryFee() {
        return entryFee;
    }

    public void setEntryFee(BigDecimal entryFee) {
        this.entryFee = entryFee;
    }

    public void setEntryFeeDesc(String entryFeeDesc)
    {
        this.entryFeeDesc = entryFeeDesc;
    }

    public String getEntryFeeDesc()
    {
        return entryFeeDesc;
    }
    public void setGameAgreementId(Long gameAgreementId)
    {
        this.gameAgreementId = gameAgreementId;
    }

    public Long getGameAgreementId()
    {
        return gameAgreementId;
    }
    public void setGameDate(String gameDate)
    {
        this.gameDate = gameDate;
    }

    public String getGameDate()
    {
        return gameDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("gameTitle", getGameTitle())
                .append("typeId", getTypeId())
                .append("gameImg", getGameImg())
                .append("gameStartTime", getGameStartTime())
                .append("applyStartTime", getApplyStartTime())
                .append("applyEndTime", getApplyEndTime())
                .append("placeName", getPlaceName())
                .append("sex", getSex())
                .append("personNum", getPersonNum())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .append("isDel", getIsDel())
                .append("remark", getRemark())
                .append("gameDesc", getGameDesc())
                .append("totalSeat", getTotalSeat())
                .append("realSeat", getRealSeat())
                .append("realPersonNum", getRealPersonNum())
                .append("candidateNum", getCandidateNum())
                .append("gameStatus", getGameStatus())
                .append("longitude", getLongitude())
                .append("latitude", getLatitude())
                .append("contactImgPath", getContactImgPath())
                .append("entryFee", getEntryFee())
                .append("entryFeeDesc", getEntryFeeDesc())
                .append("gameAgreementId", getGameAgreementId())
                .append("gameDate", getGameDate())
                .toString();
    }
}
